package com.zy.stock.service;

import java.util.List;

import com.zy.stock.domain.Pager;
import com.zy.stock.domain.StockOperationRecord;
import com.zy.stock.dto.StockOperationRecordDto;

public interface StockOperationRecordService {
	
	/**
	 * 根据条件进行分页查询
	 * @param {@link BillDto}
	 * @param start 起始下标
	 * @param end 结束下标
	 * @return List<Ammeter>
	 * */
	public Pager<List<StockOperationRecord>> findByCase(Pager<StockOperationRecordDto> pager)throws Exception;
	
	public Integer save(StockOperationRecord record);
	
	public StockOperationRecord findById(Integer id);
}
